home *** CD-ROM | disk | FTP | other *** search
/ New Masters of Flash / New Masters of Flash.iso / pc / MOVIES / 17.dir / 00108_Text_108.txt < prev    next >
Text File  |  2000-09-30  |  546b  |  7 lines

  1. We need to create a variable that represents the difference between the wordΓÇÖs actual position and the variables holding itΓÇÖs target position. The difference (disH,disV) is calculated by the code below.  
  2. This code is repeated for each of the four words: 
  3. disH = (getProperty(ΓÇ£/words/word01ΓÇ¥,__x)ΓÇöword01_x)/3;
  4. setProperty (ΓÇ£/words/word01ΓÇ¥, _x, getProperty(ΓÇ£/words/word01ΓÇ¥, _x)-disH);
  5. disV = (getProperty(ΓÇ£/words/word01ΓÇ¥, _y)-word_y)/3;
  6. setProperty (ΓÇ£/words/word01ΓÇ¥, _y, getProperty(ΓÇ£/words/word01ΓÇ¥, _y)-disV);
  7.